/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.yournamehere.server;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
import org.yournamehere.client.GWTService;

//import com.google.gwt.user.client.ui.Image;

public class GWTServiceImpl extends RemoteServiceServlet implements GWTService{
    //Image k;
    public String myMethod(String s){
        //getExcel get = new getExcel();
        return "Server says:";// + get.getCell() ;
    }
    //private CategoryDataset dataset;
    public String getImage(){
        //charts bChart = new charts();
        //JFreeChart chart = bChart.getChart();

        //Window.alert("THIS POINT");
        String fileName = "chart.jpg";

        //try{
          // ChartUtilities.saveChartAsJPEG(new java.io.File(fileName), chart , 500, 300);
       //}

      // catch (java.io.IOException e){
	//System.err.println("Problem occurred creating chart.");
	//	                }

      return fileName;
    }
    



}

